package com.jy.modules.cims.data.interact.core.loan.request;

import java.math.BigDecimal;
import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * @classname: Request4048DTO.java
 * @description: 合同机构贷款转出结算Request
 */
public class Request4048DTO extends BaseHeaderRequestDTO {

	@NotBlank(message = "结算申请编号 applyCode不能为空")
	private String applyId;
	@NotBlank(message = "申请人姓名 applyName不能为空")
	private String applyName;
	@NotBlank(message = "合作机构代码 cCode不能为空")
	private String cCode;
	@NotNull(message = "服务费totalServiceCharge不能为空")
	private BigDecimal totalServiceCharge;
	@NotNull(message = "保证金totalCashDeposit不能为空")
	private BigDecimal totalCashDeposit;
	@NotNull(message = "结算总笔数count不能为空")
	private Integer count;
	@NotBlank(message = "费用记账标识accountFeesFlag不能为空")
	private String accountFeesFlag;

	@Valid
	@NotNull(message = "结算贷款列表transferList不能为空")
	@Size(min = 1, message = "结算贷款列表transferList不能为空")
	private List<LoanTransferDTO> transferList;

	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}

	public String getApplyName() {
		return applyName;
	}

	public void setApplyName(String applyName) {
		this.applyName = applyName;
	}

	public String getcCode() {
		return cCode;
	}

	public void setcCode(String cCode) {
		this.cCode = cCode;
	}
	public String getCCode() {
		return cCode;
	}
	
	public void setCCode(String cCode) {
		this.cCode = cCode;
	}

	public BigDecimal getTotalServiceCharge() {
		return totalServiceCharge;
	}

	public void setTotalServiceCharge(BigDecimal totalServiceCharge) {
		this.totalServiceCharge = totalServiceCharge;
	}

	public BigDecimal getTotalCashDeposit() {
		return totalCashDeposit;
	}

	public void setTotalCashDeposit(BigDecimal totalCashDeposit) {
		this.totalCashDeposit = totalCashDeposit;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public String getAccountFeesFlag() {
		return accountFeesFlag;
	}

	public void setAccountFeesFlag(String accountFeesFlag) {
		this.accountFeesFlag = accountFeesFlag;
	}

	public List<LoanTransferDTO> getTransferList() {
		return transferList;
	}

	public void setTransferList(List<LoanTransferDTO> transferList) {
		this.transferList = transferList;
	}
}
